package com.be.beadmin.material.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Author: Mengyang Zhu
 * @Date: 2023/5/14 22:08
 * @Description: 收料详单
 */
@Data
@Entity
@Table(name = "T_OM_PickingReccieveDetails")
public class PickingReccieveDetails extends BaseEntity {
    @Column(name = "ProductCode", columnDefinition = "VARCHAR(50) COMMENT '柜体编号' ")
    private String productCode;

    @Column(name = "PickingNo", columnDefinition = "VARCHAR(50) COMMENT '物料模块分料任务号' ")
    private String pickingNo;

    @Column(name = "ErpOrderNo", columnDefinition = "VARCHAR(50) COMMENT 'ERP下架任务号' ")
    private String erpOrderNo;

    @Column(name = "MaterialCode", columnDefinition = "VARCHAR(50) COMMENT '柜体所需物料编码' ")
    private String materialCode;

    @Column(name = "MaterialNeedQty", columnDefinition = "double COMMENT '柜体所需物料数量' ")
    private double materialNeedQty;

    @Column(name = "MaterialRecievedQty", columnDefinition = "double COMMENT '该物料已收数量' ")
    private double materialRecievedQty;

    @Column(name = "ProcessCode", columnDefinition = "VARCHAR(50) COMMENT '所属加工工序编码' ")
    private String processCode;

}
